package com.dsj.app.service;

import com.dsj.app.domain.Consumer;

import java.util.List;
import java.util.Map;

/**
 * 顾客业务接口
 */
public interface ConsumerService {

  List<Consumer> searchByName(String name);

  Consumer selectByPrimaryKey(String id);

  List<Consumer> selectAllConsumer(Map<String, Object> params);

  int count();

  int insertConsumer(Consumer consumer);

  int deleteConsumer(String id);

  int updateConsumer(Consumer consumer);
}
